import request from '@/router/axios'

// 分页查询评价记录
export function fetchWxEvaluationLogList(query) {
  return request({
    url: '/mp/wxevaluationlog/public/page',
    method: 'get',
    params: query
  })
}

// 根据ID查询评价信息
export function getAssessData(id){
	return request({
		url: '/mp/wxevaluationlog/public/' + id,
		method: 'get'
	})
}

export function addWxEvaluationLogObj(obj) {
  return request({
    url: '/mp/wxevaluationlog',
    method: 'post',
    data: obj
  })
}

export function getWxEvaluationLogObj(id) {
  return request({
    url: '/mp/wxevaluationlog/' + id,
    method: 'get'
  })
}

export function delWxEvaluationLogObj(id) {
  return request({
    url: '/mp/wxevaluationlog/' + id,
    method: 'delete'
  })
}

export function putWxEvaluationLogObj(obj) {
  return request({
    url: '/mp/wxevaluationlog',
    method: 'put',
    data: obj
  })
}
